<?php

if($act=='edit')
{
    $content    = ProductById($id);
    $idP        = $content['iParentId'];
}else
{
    $content['iStatus'] = 1;
    $content['iDepository'] = 1;
}
$idP        = gpc_getIntGet('idP',$idP);
$content['iParentId']=  $idP;

$filters    = ListPropertyFilter($idP);
$properties = getPropertyProduct($idP,$content['cProperty']);


if($AjaxFrame==true)
{
    $property   = BuildTableProduct($properties);
    echo $property;
    exit;
}

?>